package com.myway.dao;

import com.myway.dto.param.IntegralParam;
import com.myway.pojo.TabMembIntegral;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TabMembIntegralMapper {
    int deleteByPrimaryKey(Long integralId);

    int insert(TabMembIntegral record);

    int insertSelective(TabMembIntegral record);

    TabMembIntegral selectByPrimaryKey(Long integralId);

    int updateByPrimaryKeySelective(TabMembIntegral record);

    int updateByPrimaryKey(TabMembIntegral record);

    List<TabMembIntegral> selectByMembId(@Param("membId") String membId);

    List<TabMembIntegral> selectByIntegralParam(IntegralParam param);

    List<TabMembIntegral> findByMembId(@Param("membId") String membId);

    List<TabMembIntegral> findByOrderId(String orderId);
}